 <?php get_header(); ?> 
   <!-- Breadcrumbs -->
<div id="breadcrumbs">
	<div class="container">
    	<div class="box1">

        	<?php echo __( 'Author Archive for', 'themeText' ); ?> <span>/</span> <span> '<?php echo trim( wp_title( '', false ) ); ?>'</span>
        </div>
    </div>
</div>
<!-- /Breadcrumbs -->   
    
<!--PAGE CONTENT-->
	<div class="container">
       	<div class="clearfix">
		<div class="row"><!-- Main -->
        <div id="blog" class="span8">
                   <?php
      if (have_posts()) : while (have_posts()) : the_post();
   ?>
    <?php 
			$format = get_post_format(); 
			if( false === $format ) { $format = 'standard'; }
			?>
        <article>
        <div class="post">
            	<?php if( $format == 'standard' || $format == 'gallery' || $format == 'image' || $format == 'video' || $format == 'audio' ) { ?>
                
                 <?php } ?>
                  <?php if($format == 'aside') { ?>
                    <div class="text">
                        <p><?php the_content(); ?></p>
                        </div>
                        <div class="marginbottom40"></div>
                        
                   <?php } else if($format == 'quote') { ?>
					<div class="posttype entry-quote">
                       <h3><?php echo get_post_meta($post->ID, $prefix.'_quote', true); ?></h3>
                        <p class="quote-source">- <?php the_title(); ?></p> 
                     </div>
                       <p><?php the_content(); ?></p>
                
                    <?php } else if($format == 'link') { ?>
                  
                    <div class="posttype entry-link">
                            <h3><a href="<?php echo get_post_meta($post->ID, $prefix.'_link', true); ?>" target="_blank"><?php the_title(); ?></a></h3>
                    </div> 

                            <p class="absolute-text"><a href="<?php echo get_post_meta($post->ID, $prefix.'_link', true); ?>" target="_blank"><?php echo get_post_meta($post->ID, $prefix.'_link', true); ?></a></p>
                    					
                        <p class="text"><?php cl_excerpt('cl_excerptlength_post', 'cl_excerptmore'); ?></p>
                        <div class="marginbottom40"></div>
                        
<?php }	else if($format == 'standard' || $format == 'audio' || $format == 'video' || $format == 'image' || $format == 'gallery') { ?>
                    
					<?php get_template_part( 'includes/' . $format ); ?>


					<?php }  ?>
                <!-- /Title -->

    
    </div>
                
         
            </article>

           <?php 
    endwhile; 
		include (get_template_directory() . '/inc/nav.php' );
	endif;
	?>     
    </div>
  <aside id="sidebar" class="span4">
            
<?php get_sidebar(); ?>        
 </aside> 
        <!-- /Sidebar -->             
        </div>
        <!-- /Box1 --></div>

</div>

    <?php get_footer(); ?>